package com.common.help.test05;

import java.util.Random;

public class Test5 {

	static Random r = new Random();
	public static int getR(int i){
		return Math.abs(r.nextInt())%i-1;
	}
	
	public static void print(String str){
		System.out.println(str);
	}
	public static void main(String[] args) {
		int[] a = new int[getR(20)];
		for(int i=0;i<a.length;i++){
			print(a[i]+"");
			a[i]=i;
		}
		System.out.println(10&2);//0110&0010
	}
}
